﻿using System;

namespace AutoDb {
	/// <summary>
	/// 
	/// </summary>
	enum LogLevel {
		/// <summary>
		/// 
		/// </summary>
		Error = 6,

		/// <summary>
		/// 
		/// </summary>
		Good = 5,

		/// <summary>
		/// 
		/// </summary>
		Warn = 4,

		/// <summary>
		/// 
		/// </summary>
		Title = 3,

		/// <summary>
		/// 
		/// </summary>
		Info = 2,

		/// <summary>
		/// 
		/// </summary>
		Verbose = 1
	}

	/// <summary>
	/// 
	/// </summary>
	enum SourceFileType {
		/// <summary>
		/// 
		/// </summary>
		Unknown = 0,

		/// <summary>
		/// 
		/// </summary>
		Xml = 1
	}

	/// <summary>
	/// 
	/// </summary>
	enum CodeFileType {
		/// <summary>
		/// 
		/// </summary>
		Unknown = 0,

		/// <summary>
		/// 
		/// </summary>
		CSharp = 1,

		/// <summary>
		/// 
		/// </summary>
		VisualBasic = 2,

		/// <summary>
		/// 
		/// </summary>
		JSharp = 3,

		/// <summary>
		/// 
		/// </summary>
		FSharp = 4,

		/// <summary>
		/// 
		/// </summary>
		Java = 5
	}

	/// <summary>
	/// 
	/// </summary>
	enum CommandType {
		/// <summary>
		/// 
		/// </summary>
		Text = 1,

		/// <summary>
		/// 
		/// </summary>
		StoredProcedure = 4
	}

	/// <summary>
	/// 
	/// </summary>
	enum DbType {
		/// <summary>
		/// 
		/// </summary>
		String = 1,

		/// <summary>
		/// 
		/// </summary>
		Integer = 2,

		/// <summary>
		/// 
		/// </summary>
		Long = 3,

		/// <summary>
		/// 
		/// </summary>
		Decimal = 4,

		/// <summary>
		/// 
		/// </summary>
		DateTime = 5,

		/// <summary>
		/// 
		/// </summary>
		Date = 6,

		/// <summary>
		/// 
		/// </summary>
		StartDate = 11,

		/// <summary>
		/// 
		/// </summary>
		StartMonth = 12,

		/// <summary>
		/// 
		/// </summary>
		StartYear = 13,

		/// <summary>
		/// 
		/// </summary>
		EndDate = 16,

		/// <summary>
		/// 
		/// </summary>
		EndMonth = 17,

		/// <summary>
		/// 
		/// </summary>
		EndYear = 18,

		/// <summary>
		/// 
		/// </summary>
		Double = 8,

		/// <summary>
		/// 
		/// </summary>
		Boolean = 9,

		/// <summary>
		/// 
		/// </summary>
		Binary = 10
	}

	/// <summary>
	/// 
	/// </summary>
	enum MatchType {
		/// <summary>
		/// 
		/// </summary>
		Exact = 1,

		/// <summary>
		/// 
		/// </summary>
		StartsWith = 2,

		/// <summary>
		/// 
		/// </summary>
		EndsWith = 3,

		/// <summary>
		/// 
		/// </summary>
		Contains = 4
	}

	/// <summary>
	/// 
	/// </summary>
	[Flags]
	enum Direction {
		/// <summary>
		/// 
		/// </summary>
		Input = 1,

		/// <summary>
		/// 
		/// </summary>
		Output = 2,

		/// <summary>
		/// 
		/// </summary>
		InputOutput = 3
	}

	/// <summary>
	/// 
	/// </summary>
	enum ResultType {
		/// <summary>
		/// 
		/// </summary>
		Table = 1,

		/// <summary>
		/// 
		/// </summary>
		TableSingleRow = 2,

		/// <summary>
		/// 
		/// </summary>
		String = 101,

		/// <summary>
		/// 
		/// </summary>
		Integer = 102,

		/// <summary>
		/// 
		/// </summary>
		Short = 103,

		/// <summary>
		/// 
		/// </summary>
		Long = 104,

		/// <summary>
		/// 
		/// </summary>
		Decimal = 105,

		/// <summary>
		/// 
		/// </summary>
		DateTime = 106,

		/// <summary>
		/// 
		/// </summary>
		Double = 108,

		/// <summary>
		/// 
		/// </summary>
		Boolean = 109,

		/// <summary>
		/// 
		/// </summary>
		Binary = 110,

		/// <summary>
		/// 
		/// </summary>
		StringList = 201,

		/// <summary>
		/// 
		/// </summary>
		IntegerList = 202,

		/// <summary>
		/// 
		/// </summary>
		ShortList = 203,

		/// <summary>
		/// 
		/// </summary>
		LongList = 204,

		/// <summary>
		/// 
		/// </summary>
		DecimalList = 205,

		/// <summary>
		/// 
		/// </summary>
		DateTimeList = 206,

		/// <summary>
		/// 
		/// </summary>
		DoubleList = 208,

		/// <summary>
		/// 
		/// </summary>
		BooleanList = 209,

		/// <summary>
		/// 
		/// </summary>
		BinaryList = 210,

		/// <summary>
		/// 
		/// </summary>
		UpdatedRows = 400
	}

	/// <summary>
	/// 
	/// </summary>
	enum DynamicTextType {
		/// <summary>
		/// 
		/// </summary>
		Exists = 1,

		/// <summary>
		/// 
		/// </summary>
		NotExists = 2,

		/// <summary>
		/// 
		/// </summary>
		IsNull = 3,

		/// <summary>
		/// 
		/// </summary>
		IsNotNull = 4,

		/// <summary>
		/// 
		/// </summary>
		IsEmpty = 5,

		/// <summary>
		/// 
		/// </summary>
		IsNotEmpty = 6,

		/// <summary>
		/// 
		/// </summary>
		IsNullOrEmpty = 7
	}
}
